﻿using SLNGP.Core.GeneticPrograms;
using SLNGP.Core.Individuals;

namespace SLNGP.Core.GeneticOpearators
{
    public abstract class GeneticOpearator : IGeneticOpearator
    {
        public IGeneration LastGeneration
        {
            get
            {
                return Parent.LastRunResults.LastGeneration;
            }
        }

        public abstract void Execute();
        public IGeneticProgram Parent { get; set; }
    }
}